﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-12-12
Description:Agency_List三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;

using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable()]
    public class BSSAGENCYINFO : EntityBase
    {

        //不带数的构造方法
        public BSSAGENCYINFO()
        {
            TableName = "BSSAGENCYINFO";
            EntityMap = EntityMapType.Table;
            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("BSSCODE");

        }

        protected override void SetFieldNames()
        {
            PropertyNames = new string[] { "BSSCODE", "AGENCYADDRESS", "LONGITUDE", "LATITUDE", "AGENCYMANAGER", "CONTACTMAN", "CONTACTTEL1", "CONTACTTEL2", "UNAME", "LASTUPDATE" };
        }

        #region BSSAGENCYINFO Filed

        public System.String BSSCODE
        {
            get { return getProperty<System.String>("BSSCODE"); }
            set { setProperty("BSSCODE", value); }
        }
        public System.String AGENCYADDRESS
        {
            get { return getProperty<System.String>("AGENCYADDRESS"); }
            set { setProperty("AGENCYADDRESS", value); }
        }
        public System.String LONGITUDE
        {
            get { return getProperty<System.String>("LONGITUDE"); }
            set { setProperty("LONGITUDE", value); }
        }
        public System.String LATITUDE
        {
            get { return getProperty<System.String>("LATITUDE"); }
            set { setProperty("LATITUDE", value); }
        }
        public System.String AGENCYMANAGER
        {
            get { return getProperty<System.String>("AGENCYMANAGER"); }
            set { setProperty("AGENCYMANAGER", value); }
        }
        public System.String CONTACTMAN
        {
            get { return getProperty<System.String>("CONTACTMAN"); }
            set { setProperty("CONTACTMAN", value); }
        }
        public System.String CONTACTTEL1
        {
            get { return getProperty<System.String>("CONTACTTEL1"); }
            set { setProperty("CONTACTTEL1", value); }
        }
        public System.String CONTACTTEL2
        {
            get { return getProperty<System.String>("CONTACTTEL2"); }
            set { setProperty("CONTACTTEL2", value); }
        }
        public System.String UNAME
        {
            get { return getProperty<System.String>("UNAME"); }
            set { setProperty("UNAME", value); }
        }
        public System.DateTime LASTUPDATE
        {
            get { return getProperty<System.DateTime>("LASTUPDATE"); }
            set { setProperty("LASTUPDATE", value); }
        }
        #endregion
    }
}

